# -*- coding:utf-8 -*-

from django.urls import include, path
from rest_framework.routers import SimpleRouter

from Apps.User.views import GetUserView, LoginView, CheckUserView

route = SimpleRouter()
# 用户
route.register("user", GetUserView, basename="user")

urlpatterns = [
                  path('login/', LoginView.as_view()),
                  path('checkUser/', CheckUserView.as_view()),
              ] + route.urls
